/**
 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.vijayan.profile.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * This class is used by
 * {@link com.vijayan.profile.service.http.HoroscopeServiceSoap}.
 * </p>
 *
 * @author    vijayan
 * @see       com.vijayan.profile.service.http.HoroscopeServiceSoap
 * @generated
 */
public class HoroscopeSoap implements Serializable {
	public static HoroscopeSoap toSoapModel(Horoscope model) {
		HoroscopeSoap soapModel = new HoroscopeSoap();

		soapModel.setHoroscopeId(model.getHoroscopeId());
		soapModel.setProfileId(model.getProfileId());
		soapModel.setSuryan(model.getSuryan());
		soapModel.setChandra(model.getChandra());
		soapModel.setKuja(model.getKuja());
		soapModel.setBudha(model.getBudha());
		soapModel.setGuru(model.getGuru());
		soapModel.setSukra(model.getSukra());
		soapModel.setSani(model.getSani());
		soapModel.setRahu(model.getRahu());
		soapModel.setKetu(model.getKetu());
		soapModel.setMandhi(model.getMandhi());
		soapModel.setLagna(model.getLagna());

		return soapModel;
	}

	public static HoroscopeSoap[] toSoapModels(Horoscope[] models) {
		HoroscopeSoap[] soapModels = new HoroscopeSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static HoroscopeSoap[][] toSoapModels(Horoscope[][] models) {
		HoroscopeSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new HoroscopeSoap[models.length][models[0].length];
		}
		else {
			soapModels = new HoroscopeSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static HoroscopeSoap[] toSoapModels(List<Horoscope> models) {
		List<HoroscopeSoap> soapModels = new ArrayList<HoroscopeSoap>(models.size());

		for (Horoscope model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new HoroscopeSoap[soapModels.size()]);
	}

	public HoroscopeSoap() {
	}

	public long getPrimaryKey() {
		return _horoscopeId;
	}

	public void setPrimaryKey(long pk) {
		setHoroscopeId(pk);
	}

	public long getHoroscopeId() {
		return _horoscopeId;
	}

	public void setHoroscopeId(long horoscopeId) {
		_horoscopeId = horoscopeId;
	}

	public long getProfileId() {
		return _profileId;
	}

	public void setProfileId(long profileId) {
		_profileId = profileId;
	}

	public int getSuryan() {
		return _suryan;
	}

	public void setSuryan(int suryan) {
		_suryan = suryan;
	}

	public int getChandra() {
		return _chandra;
	}

	public void setChandra(int chandra) {
		_chandra = chandra;
	}

	public int getKuja() {
		return _kuja;
	}

	public void setKuja(int kuja) {
		_kuja = kuja;
	}

	public int getBudha() {
		return _budha;
	}

	public void setBudha(int budha) {
		_budha = budha;
	}

	public int getGuru() {
		return _guru;
	}

	public void setGuru(int guru) {
		_guru = guru;
	}

	public int getSukra() {
		return _sukra;
	}

	public void setSukra(int sukra) {
		_sukra = sukra;
	}

	public int getSani() {
		return _sani;
	}

	public void setSani(int sani) {
		_sani = sani;
	}

	public int getRahu() {
		return _rahu;
	}

	public void setRahu(int rahu) {
		_rahu = rahu;
	}

	public int getKetu() {
		return _ketu;
	}

	public void setKetu(int ketu) {
		_ketu = ketu;
	}

	public int getMandhi() {
		return _mandhi;
	}

	public void setMandhi(int mandhi) {
		_mandhi = mandhi;
	}

	public int getLagna() {
		return _lagna;
	}

	public void setLagna(int lagna) {
		_lagna = lagna;
	}

	private long _horoscopeId;
	private long _profileId;
	private int _suryan;
	private int _chandra;
	private int _kuja;
	private int _budha;
	private int _guru;
	private int _sukra;
	private int _sani;
	private int _rahu;
	private int _ketu;
	private int _mandhi;
	private int _lagna;
}